<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    const params = {}
    let res1= await this.$http.get((params))
   
    let res2 = await this.$http.post((params))
aysnc xxxx 
    try{
        let res1= await this.$http.get((params))
        let res2 = await this.$http.post((params))
    }catch(err){
        console.log(err);
    }
  
    // 异常捕捉 
    // await async怎么捕捉异常
</body>
</html>